package IODemo;

import java.io.File;

public class IODemo {
    public static void main(String[] args) {
        File f = new File("./aaa/bbb/ccc");
        //boolean b = f.mkdir();//创建一级目录
        boolean b = f.mkdirs();//创建多级目录
        System.out.println(b);//true创建成功
    }


}
